
import java.util.HashSet;

public class IdClass {

	String name;
	int start; // starting state
	HashSet<Integer> acceptStates;
	String regex;

	public IdClass(String n, int begin) {
		name = n;
		start = begin;
		acceptStates = new HashSet<Integer>();
	}

	public String getName() {
		return name;
	}

	public void setAcceptStates(HashSet<Integer> set) {
		acceptStates = set;
	}

	public HashSet<Integer> getAcceptStates() {
		return acceptStates;
	}

	public void addOneAcceptState(Integer newAccept) {
		acceptStates.add(newAccept);
	}

	public int getStartState() {
		return start;
	}

}
